// ------------------------------------------------------------------
// FileName : XorNor.v
// Function : This module represents simple combinational logic including
//            an XOR and a NOR expression.
// ------------------------------------------------------------------
// Author   : QilinZhao
// Version  : v-1.0
// Date     : 2013-06-28
// E-mail   : forqilin@163.com
// Copyright: QiXin Studio
// ------------------------------------------------------------------

module XorNor (
  output X, Y, 
  input A, B, C
);
  wire x; 
  
  assign #1 X = x; // wire connection
  
  assign #10 x = A ^ B;    // 
  assign #10 Y = ~(x | C); // ~x | C 
  
endmodule // XorNor
